home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / TemplateMF / Static < prev   
Text File  |  1995-07-09  |  1KB  |  48 lines

  1. # Template makefile which makes normal 
  2. # .o files for use in the main static
  3. # linking DeskLib.
  4.  
  5. # The macro $(ObjectFiles) should be set at the 
  6. # start of this file to be a space-separated
  7. # list of object files.
  8. # This is done by 'Makatic'.
  9.  
  10. # The macro $(LibName) should also be set at the 
  11. # start of this file, to be the name of the 
  12. # DeskLib sublibrary.
  13. # This is done by 'Makatic'.
  14.  
  15. # Compiler and linker flags, These can be anything. 
  16. # All essential flags are included in the macros 
  17. # $(CC) and $(ASM)
  18. #
  19. CCFlags        =    -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  20. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  21.  
  22. CC        =    cc -c $(CCFlags)
  23. ASM        =    objasm $(ASMFlags)
  24.  
  25.  
  26. # -------------------------------------------------------
  27. # Everything below here should probably not be changed...
  28. # -------------------------------------------------------
  29.  
  30. # Here's what we want to make...
  31. #
  32. All:        $(ObjectFiles)
  33.  
  34.  
  35. VPATH = @.^
  36.  
  37. .SUFFIXES:    .c .s .o
  38.  
  39. .c.o:
  40.     $(CC) $< -o $@
  41.     
  42. .s.o:
  43.     $(ASM) -from $< -to $@
  44.  
  45.  
  46.  
  47. # Dynamic dependencies:
  48.